libxc: Minor tools bzip2/lzma decompression fixes
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:13:59 +0000 (07:13 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 23 Nov 2009 07:13:59 +0000 (07:13 +0000)
commit41c532e4e5016d0e6aea5bc79a6a62d293eb5e15
treebde90196473efebaa54591c22e134c65fd6fd1e6
parent0f761fab230db11e3e93198541bf9c6960dabde0
libxc: Minor tools bzip2/lzma decompression fixes

The attached patch cleans up a few minor problems in the bzip2/lzma
decompression support, pointed out by Jiri in internal review.  In
particular, it fixes a possible memory leak on realloc() error, it
fixes a shifting typo, and it changes the xc_dom_printf()'s to be a
bit clearly about which compression routine is in-use.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
tools/libxc/xc_dom_bzimageloader.c